<div class="row RowSpace" style="margin-bottom:10px;">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnSave" value="保存" ng-click="btnSave()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn value="放弃" ng-click="btnCancel()"></Btn></div>
</div>

<div class="row RowSpace">
	<div class="InputDiv" style="width:49%;padding:0px;">
		<div style="color:#68BDE2;font-weight:bold;margin-bottom:5px;">作业</div>
		<DataGrid module="Module.Work" rowchange="rowChange(record)" isedit="false" height="460px">
			<TextBoxColumn DisplayName="编码" width="200px" ValueField="Code"></TextBoxColumn>
	      	<TextBoxColumn DisplayName="名称" width="200px" ValueField="Name"></TextBoxColumn>
		</DataGrid>
	</div>
	<div class="LableDiv" style="width:2%;">&nbsp;</div>
	<div class="InputDiv" style="width:49%;padding:0px;">
		<div style="color:#68BDE2;font-weight:bold;margin-bottom:5px;">工位</div>
		<DataGrid module="Module._StationWork" cellvaluechange="cellValueChange(columnName, newValue, oldValue)" addrow="addRow(record)" height="460px">
	      	<ReferColumn beforeshow="refBeforeShow(refScope)" Entityname="WorkLocation" Populate="{path: 'Department', select: 'Name'}" DisplayName="工位"  width="150px"  WindowTitle="工位" ValueField="WorkLocation">
		        <Column type="0" width="100px" DisplayName="编码" valuefield="Code"></Column>
		        <Column type="textbox" width="100px" DisplayName="名称" valuefield="Name"></Column>
		        <Column type="textbox" width="150px" DisplayName="部门" valuefield="Department.Name"></Column>
		        <Column type="TextBox" width="200px" DisplayName="备注" valuefield="Remark"></Column>
		      </ReferColumn>
	      	<TextBoxColumn DisplayName="部门" width="150px" ValueField="WorkLocation.Department.Name" IsEdit="false"></TextBoxColumn>
		</DataGrid>
	</div>
</div>